package com.zhk.entry.observer;

import java.util.Observable;

/**
 * @description: 信息派发器
 * @author: zhk
 * @createDate: 2021/3/31
 * @version: 1.0
 */
public class SprotSubject extends Observable {

    public void addNews(String news){
        this.setChanged();
        this.notifyObservers(news);
    }
}
